package com.sptpc.demo.service;

import com.sptpc.demo.model.Category;

import java.util.List;

public interface ICategoryService {

    List<Category> getAllCategories();

    Category getCategoryById(Integer id);

    void updateCategory(Category category);

    void deleteCategory(Integer id);

    void addNewCategory(Category category);
}
